<template>
  <h3>权限获取中...</h3>
</template>

<script lang="ts" setup>
import { useRoute } from "vue-router";
import { usePermissionStore } from "store/modules/permission";

const route = useRoute();
const permissionStore = usePermissionStore();

const {
  query: { cb },
} = route;

permissionStore.sendLoginCallback(cb as string);
</script>
